<?php
class Form_UserLoginForm extends Zend_Form{
	public function init(){
		//username element
		$username=$this->createElement('text','username');
		$username->setLabel('Username:');
		$username->setRequired(true);
		$username->setAttrib('size',30);
		$this->addElement($username);
		//password element
		$password=$this->createElement('password','password');
		$password->setLabel('Password:');
		$password->setRequired(true);
		$password->setAttrib('size',30);
		$this->addElement($password);
		//submit button
		$this->addElement('submit','submit',array('label'=>'Submit'));
	}
}
?>